#{extends 'main.html' /}

#{set title:'Organization Home Page' /}

#{homeTitle titleName:'Organization'/}

${orgTemp.name}
</br>
</br>

#{if msg. contains ("Sucess")}
#{sucess message:msg/}

#{/if}

#{if msg. contains ("fail")}
#{error2 message:msg/}

#{/if}

#{else}

#{/else}

</br>
</br>

<a href="@{Organizations.createOrganization()}">Create Organization</a>
<a href="@{Organizations.viewAllOrganizations()}">View All Organizations</a>

<!--Sending the Organization id With 2 for the testing Purposes-->

<a href ="@{Entities.createEntityHelper(organizationID)}">Create a new Entity</a>



<a href="@{Ttags.tagHome(orgTemp.id)}">Tags</a>
<a href="@{Relationships.relationshipHome()}">Manage Relationship</a>
<a href="@{Organizations.respondToRequests(orgTemp.id)}">Respond to Requests</a>

<P><a href="@{Ttags.tagHome()}">Tags</a>
</br>
</br>

